import time
from ..celery import app

@app.task()
def buy(buy = "键盘"):
    print(f"开始买东西，具体是{buy}")
    print("耗时3秒")
    time.sleep(3)
    return "购买成功"
